package top.andnux.chain.encrypt;

public interface Encrypt {

    String encrypt(String content,String password) throws Exception;

    String decrypt(String content,String password) throws Exception;

    byte[] encrypt(byte[] content, byte[] keyBytes) throws Exception;

    byte[] decrypt(byte[] content, byte[] keyBytes) throws Exception;

}
